import QtQuick
import QtQuick.Controls
import QtQuick.Layouts

Window {
    width: 640
    height: 480
    visible: true
    title: qsTr("Hello World")

    SplitView {
        anchors.fill: parent
        orientation: Qt.Horizontal

        Rectangle {
            implicitWidth: 200
            Label {
                text: "Panel 1"
                anchors.centerIn: parent
            }
        }

        Rectangle {
            SplitView.fillWidth: true
            Label {
                text: "Panel 2 (fill item)"
                anchors.centerIn: parent
            }
        }

        Rectangle {
            implicitWidth: 200
            Label {
                text: "Panel 3"
                anchors.centerIn: parent
            }
        }
    }

}
